package com.lhkj.ct.meta.modules.gauge.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lhkj.ct.meta.modules.gauge.model.entity.TblScalePatModule;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.Set;

/**
 * <p>
 * 量表档案模板关联表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2024-01-25
 */
public interface ScalePatModuleMapper extends BaseMapper<TblScalePatModule> {

    @Select("select pat_module_id from tbl_scale_pat_module where scale_id = #{scaleId,jdbcType=VARCHAR}")
    Set<Integer> selectByScaleId(@Param("scaleId") String scaleId);
}
